package com.itheima.service;

import com.itheima.pojo.PageResult;
import com.itheima.pojo.QueryPageBean;
import com.itheima.pojo.Role;

import java.util.List;
import java.util.Map;

/**
 * @version V1.0
 * @author: TXT
 * @date: 2020/2/12 9:59
 * @description:
 */
public interface ManagerRoleService {

    List<Role> findAll();

    PageResult findPage(QueryPageBean queryPageBean);

    Map findPermissionAndMenu();

    Map findPermIdsAndMenuIds(Integer id);

    boolean deleteRole(Integer id);

    void addMenuAndPerm(Role role);

    void editMenuAndPerm(Role role);

}
